ace.define("ace/mode/space",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/folding/coffee","ace/mode/space_highlight_rules"],function(e,t,i){var o=e("../lib/oop"),r=e("./text").Mode,n=e("./folding/coffee").FoldMode,l=e("./space_highlight_rules").SpaceHighlightRules,a=function(){this.HighlightRules=l,this.foldingRules=new n};o.inherits(a,r),function(){this.$id="ace/mode/space"}.call(a.prototype),t.Mode=a}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,i){var o=e("../../lib/oop"),r=e("./fold_mode").FoldMode,n=e("../../range").Range,l=t.FoldMode=function(){};o.inherits(l,r),function(){this.getFoldWidgetRange=function(e,t,i){var o=this.indentationBlock(e,i);if(o)return o;var r=/\S/,l=e.getLine(i),a=l.search(r);if(-1!=a&&"#"==l[a]){for(var g=l.length,d=e.getLength(),s=i,c=i;++i<d;){l=e.getLine(i);var f=l.search(r);if(-1!=f){if("#"!=l[f])break;c=i}}if(c>s){var h=e.getLine(c).length;return new n(s,g,c,h)}}},this.getFoldWidget=function(e,t,i){var o=e.getLine(i),r=o.search(/\S/),n=e.getLine(i+1),l=e.getLine(i-1),a=l.search(/\S/),g=n.search(/\S/);if(-1==r)return e.foldWidgets[i-1]=-1!=a&&g>a?"start":"","";if(-1==a){if(r==g&&"#"==o[r]&&"#"==n[r])return e.foldWidgets[i-1]="",e.foldWidgets[i+1]="","start"}else if(a==r&&"#"==o[r]&&"#"==l[r]&&-1==e.getLine(i-2).search(/\S/))return e.foldWidgets[i-1]="start",e.foldWidgets[i+1]="","";return e.foldWidgets[i-1]=-1!=a&&r>a?"start":"",g>r?"start":""}}.call(l.prototype)}),ace.define("ace/mode/space_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var o=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"empty_line",regex:/ */,next:"key"},{token:"empty_line",regex:/$/,next:"key"}],key:[{token:"variable",regex:/\S+/},{token:"empty_line",regex:/$/,next:"start"},{token:"keyword.operator",regex:/ /,next:"value"}],value:[{token:"keyword.operator",regex:/$/,next:"start"},{token:"string",regex:/[^$]/}]}};o.inherits(n,r),t.SpaceHighlightRules=n});